package by.brest.bspc.reporter.jasperreports.connectors;

/**
 * This interface contains factory method, that creates connection to some database.
 *
 * @date: 02.10.13 16:18
 * @author: Natallia
 */
public interface MongoConnectionFactory {
    /**
     * Creates connection to database.
     *
     * @param mongoUri mongo uri.
     * @return mongo connection.
     */
    public MongoConnection createConnection(String mongoUri);
}
